package model

import "time"

type VideoTable struct {
	Id        uint      `gorm:"column:id;type:int UNSIGNED;primaryKey;not null;" json:"id"`
	Name      string    `gorm:"column:name;type:varchar(255);not null;" json:"name"`
	Url       string    `gorm:"column:url;type:varchar(255);not null;" json:"url"`
	CreatedAt time.Time `gorm:"column:created_at;type:datetime(3);not null;default:CURRENT_TIMESTAMP(3);" json:"created_at"`
}

func (VideoTable) TableName() string {
	return "video_table"
}
